Log In  
BBS > Lexaloffle Community Superblog
This is a combined feed of all Lexaloffle user blogs. For Lexaloffle-related news, see @zep's blog.

All | Following | PICO-8 | Voxatron | General | Off-site
[ :: Read More :: ]

Hi!

I've been trying to figure out how to use PX9 to compress the spritesheets for my beat-em-up game, but I haven't been able to figure out how to use it properly.

I want to compress 2 spritesheets (and maybe the map as well) from the 0x8000 extended memory into the normal spritesheet/map, then decompress them back to the extended memory later.

Here's a look at the current sheets


World sheet
The existing compressed-looking data is copied directly from Wobblepaint. I'm not sure if it'll compress, and only the second one is used.
[128x128]

Actor sheet
[128x128]

If anyone could help, it would be greatly appreciated!


If you would like to see the details I've released so far about the game, you can look at my Twitter or its page on my website.

P#113129 2022-06-14 09:32 ( Edited 2022-06-14 09:32)
[ :: Read More :: ]

Cart #stabbycrabby-0 | 2022-06-14 | Code ▽ | Embed ▽ | No License
15

Made for Mini Jam 108. We started a day late and finished a day late. Standard PICO-8 controls. Z is select. X is back. Arrow keys move the selection.

It's can be hard for a lone hermit crab to survive in the wild. Luckily, this hermit has a giant sword! Chose between 9 action cards to defend yourself from predators!

Movement Cards (Green)

  • Move - Move one tile in any direction
  • Jump - Jump over a tile in any direction
  • Charge - Charge in any direction until you hit something

Attack Cards (Red)

  • Stab - Point your sword in any direction
  • Thrust - Hit the tile in front of your sword, and return to your original position
  • Spin - Hit all adjacent tiles

Utility Cards (Yellow)

  • Idle - Stay stationary for a turn
  • Swap - Swap positions with any enemy over land
  • Rewind - Rewind your last played card

There are 50 levels, so don't feel like you have to beat all of them. The game also auto-saves, so you can continue where you left off.

Here's the itch.io link: https://alanxoc3.itch.io/stabby-crabby

alanxoc3 did the code (me).
greatcadet did the sfx/gfx (this guy: https://www.instagram.com/cadendrawsstuff/).

P#113140 2022-06-14 04:56 ( Edited 2022-06-16 15:37)
[ :: Read More :: ]

Cart #puyikojake-0 | 2022-06-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

Simple turn-based battle experimenting with state machines. Any criticism is accepted. Not the best but at least I learned :D.

P#113139 2022-06-14 03:44
[ :: Read More :: ]

Cart #dynasfx-0 | 2022-06-13 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Description

The demo shows how your PICO-8 games could add dynamicity to sound effects depending on what happens and the action involving your sprites, depending on their position, speed etc... not just use a few prefab sfx or playing several different sounds to give the impression they react to the action (e.g. a vehicle acceleration, spaceship thrust).

Presets

There are 8 examples (presets, select them with 🅾️ and ❎) of sounds and each shows a simple preview of some game action. To interact with preset previews you basically change the Pitch with ⬆️ and ⬇️ keys.

The Note

At the top you see the two bytes representing the note, their address in memory (it's sfx 1), the values in binary (help you understand how 'components' such as Pitch, WaveForm, Volume, Effect are stored in the bytes) and their corresponding decimal values.
You can use ⬅️➡️ to select a different component and edit its value.

At the moment it's 'just a demo' (although it took me more than 2 weeks, longer than a single game dev) and it still doesn't offer some basic functions to copy into your game to implement dynamic sounds. I'll update it as soon as I test more myself on an actual game.

P#113089 2022-06-13 02:24
[ :: Read More :: ]

Cart #demo_3d_citee-0 | 2022-06-13 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
13

Hey bbs! I had a lot of fun making this city render for my fighting game. arrow keys to move and z and x to zoom in and out!
(The buildings are random gen btw)
thanks to freds72 for helping a ton with optimizing the thing!

P#113088 2022-06-13 01:43 ( Edited 2022-06-14 03:54)
[ :: Read More :: ]

So, I decided to try and make a thing where you can select 1 character and move that character, and then switch characters and start moving the other one, I got this idea from PolyMars, but I have one issue: How do I detect when 1 or 2 is pressed on the keyboard?
Code:

x1 = 64
y1 = 64
x2 = 64
y2 = 64
cur = 1
function _update()
  if (btn(0) and cur==1) x1-=1
  if (btn(1) and cur==1) x1+=1
  if (btn(2) and cur==1) y1-=1
  if (btn(3) and cur==1) y1+=1
  if (btn(0) and cur==2) x2-=1
  if (btn(1) and cur==2) x2+=1
  if (btn(2) and cur==2) y2-=1
  if (btn(3) and cur==2) y2+=1
  if (btnp(1)) cur=1
  if (btnp(2)) cur=2
end

function _draw()
  cls(0)
  spr(1,x1,y1,8,8,false,false)
  spr(2,x2,y2,8,8,false,false)
end
P#113081 2022-06-12 23:57
[ :: Read More :: ]

Cart #circle_timer-0 | 2022-06-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
31

P#113068 2022-06-12 21:14 ( Edited 2022-12-17 23:19)
[ :: Read More :: ]

Cart #race-3 | 2022-06-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2


I was practicing extreme optimization and came up with this cart
There's not a lot to see here but what matters is that it works

Edit:The original took up 182 characters, this new version takes up only 176 characters

Edit2:Thanks to @p01, the new version takes up 133 characters. Unfortunately, not all the techniques
could be implemented without problems as racer 5 was the only one that could win in your code

Edit3:I was able to make the cart smaller by 3 characters which is not that bad

P#113067 2022-06-12 20:11 ( Edited 2022-06-15 09:05)
[ :: Read More :: ]

Cart #faultb-0 | 2022-06-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5


credit to @SandwichBlam for fault
verified by me

P#113063 2022-06-12 18:51
[ :: Read More :: ]

Description from the itch.io page:

You're a bee, and for some reason I still do not comprehend, you decided to get some honey. In the middle of the rain. The drops are twice as bigger than you. You might die if you get hit by one. And the rain gets worse the more honey you collect. That wasn't the best idea you've gotten.

Made in 4 hours for the Crunchy Jam, hosted by Celesmeh.

Still has noticeable bugs, since I couldn't get time for enough bugfixing sadly.

Cart #riskyhoney-0 | 2022-06-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

P#113059 2022-06-12 15:56
[ :: Read More :: ]

Big Mapper

Click here for Github Repo for BigMapper

This is a utility for pico8, designed for editing map data. It will eventually be expanded upon, allowing you to edit and save to the pico8 extended memory. Its current major feature is allowing you to edit maps at 256x256 pixels, giving you a lot of breathing room.

I have chosen not to upload this to the bbs, for two reasons:

  1. It doesn't run properly on the web, due to the inability to pass commandline arguments to pico8 at startup.
  2. This is very much a "dev" tool, and not having it on your local PC doesn't make sense for its intended use case.

That being said, I encourage you to check it out, if for no other reason than to see how nice it is to have high-res utilities, and to see how easy it is to make them!

Setup

This cannot be run standalone - it must be run from the pico8 desktop client.

  1. Run this file from commandline, with the following arguments:
    pico8 -displays_x 2 -displays_y 2 mapper.p8
  2. Code editing only takes place in the upper-left quadrant, which is why i edit the code externally in mapper.lua.
  3. Usage instructions:
    Pan map around: ESDF
    Select a different sprite to place: Arrow Keys
    Switch between paint (point) and fill modes: B
    Save current map to cart ROM: 5
    Export current map to another cart (you will need to edit line 187): 4
    Paint or fill: Left mouse click
    Dropper: RIght mouse Click
    Undo: Z -- may be buggy!

Running in multi-display

If you are mostly interested in multi-display, this is my current understanding of it:

  1. You must run pico8 client from commandline, with the following args:
    pico8 -displays_x X -displays_y Y -- X and Y are how wide and tall the displays will be, integers
  2. Within your cart, you must enable multidisplay with a poke:
    poke(0x5f36,1) 
  3. You now have access to four displays! you must switch between them manually, and draw to them separately. This is a major CPU consumer!
    function _draw()
    for i=0,3,1 do
        _map_display(i)
        clr(i)
        circ(64,64,10,i+2)
    end
    end

Check out my mapping cart for tips on drawing across all displays seemlessly!

P#113056 2022-06-12 14:15
[ :: Read More :: ]

Cart #honeydr0p-0 | 2022-06-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

A small game made for the Lazy devs discord's game jam, the Crunchy jam!

The jams rules meant I had 4 hours to make the game, with those time constraints in mind I made this. You need to reach 100 to win- fall below 0 points and you lose!

P#113038 2022-06-12 03:45 ( Edited 2022-06-19 00:59)
[ :: Read More :: ]

Cart #shipgame-0 | 2022-06-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

little spaceship game i made. as per usual, started out simple, then had me bashing my head against the wall with frustration. but it turned out in the end.

explore the galaxy! follow the markers to find star clusters!
steer the ship with ⬅️ and ➡️! control your speed with ⬆️/🅾️ and ⬇️! hold ❎ to hyperjump to a new galaxy!

P#113036 2022-06-12 00:20
[ :: Read More :: ]

Cart #fewekopego-0 | 2022-06-11 | Code ▽ | Embed ▽ | No License
1

P#113015 2022-06-11 14:25
[ :: Read More :: ]

Cart #fault2-1 | 2022-06-11 | Code ▽ | Embed ▽ | No License
22


special thanks to @kuliat

P#113014 2022-06-11 14:02 ( Edited 2022-06-11 18:08)
[ :: Read More :: ]

Cart #wooltergeist-0 | 2022-06-11 | Code ▽ | Embed ▽ | No License
9

Z = possess/out
hold X = reset level

You're a demon in training.

Before you're allowed to cause any real trouble,
you need to practice on sheep.

Lead all the sheep into the sacrificial pit
to open up the hellevator to the next level.

Made by Brian Wo & me for GMTK Game Jam 2020,
with small edits made in 2022 :)

P#113002 2022-06-11 02:05 ( Edited 2022-06-11 02:07)
[ :: Read More :: ]

ive loved pico 8 the whole year, but now that schools over, i dont feel like playing as often. ill come in time to time, but i will probably not be playing at all anymore. i will never forget all of the amazing games created by all of you, but im afraid its my time to go. love you all, Jaeson Pickens.

P#112986 2022-06-10 15:13
[ :: Read More :: ]

Cart #sloppysliders-0 | 2022-06-10 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

Help a lost penguin baby find its way back home 🐧

Made by three friends on a rainy day in Odense, Denmark on the 9th of June, 2022.

Notes

  • When all 11 levels has been completed, a special "zombie mode" is unlocked!
  • Some of the levels are difficult, especially in zombie mode. We were tempted to tweak them in the days that followed, but decided not to, to honor the spirit of the game jam.
  • We would love to hear your thoughts and comments if you played the game! ❤️

Credits & Thanks

The Team

  • Christian Kudahl (code, design)
  • Emil Grubak Schmalfeldt (sfx, music, design)
  • Kasper Meyer (art, code)
P#112974 2022-06-10 08:21 ( Edited 2022-06-13 07:11)
[ :: Read More :: ]

I really like this song so I tried transcribing it into pico8,
Pretty happy with how it came out. left a empty slot in case I wanted to do other variations.
[sfx]
(some stuff like the viola part or whatever that is might be a bit off but eh. remix!)

P#112971 2022-06-10 03:43
[ :: Read More :: ]

Cart #yiwatipuji-0 | 2022-06-09 | Code ▽ | Embed ▽ | No License
6

P#112960 2022-06-09 20:48
View Older Posts